
// 红包类
public class ReadPacket {

    private double money; // 红包的金额

    private int count; // 红包的数量

    public ReadPacket() {
    }

    public ReadPacket(double money, int count) {
        this.money = money;
        this.count = count;
    }

    @Override
    public String toString() {
        return "ReadPacket{" +
                "money=" + money +
                ", count=" + count +
                '}';
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
